home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / rain_for.swf / scripts / __Packages / smashing / CollisionResult.as < prev    next >
Encoding:
Text File  |  2010-04-12  |  362 b   |  17 lines

  1. class smashing.CollisionResult
  2. {
  3.    var hit;
  4.    var normal;
  5.    var distSqu;
  6.    function CollisionResult(pHit, pNormal, nDist)
  7.    {
  8.       this.hit = pHit;
  9.       this.normal = pNormal;
  10.       this.distSqu = nDist;
  11.    }
  12.    function toString()
  13.    {
  14.       return "[CollisionResult, " + this.hit + ", " + this.normal + ", " + this.distSqu + "]";
  15.    }
  16. }
  17.